classdef DecisionThresholdable < BatHandle
    %DECISIONTHRESHOLDABLE Interface of having decision threshold
    %   Detailed explanation goes here
    
    properties
        decisionThreshold
    end
    
    methods
        function [  ] = setDecisionThreshold( this, decisionThreshold )
            %SETDECISIONTHRESHOLD Set `this.decisionThreshold`
            %   Detailed explanation goes here
            % DecisionThresholdable::
            
            if nargin == 1
                this.decisionThreshold = 0;
                return
            end
            if nargin == 2
                this.decisionThreshold = decisionThreshold;
                return
            end
            
        end
    end
    
    methods
        function [ this ] = DecisionThresholdable(  )
            this.setDecisionThreshold(0);
        end
    end
    
end

